home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 9
/
FM Towns Free Software Collection 9.iso
/
t_os
/
tool
/
dc15
/
makefile
< prev
next >
Wrap
Makefile
|
1994-11-16
|
965b
|
49 lines
# 実際にはこのファイルを使用しないで
# c_printf.objをリンクしました。
#define
CC = run386 f:\hc386\bin\hcd386p
LINK = run386 f:\hc386\bin\tlinkp
ASM = f:\hc386\bin\386asm -nolist -twocase
#suffix rules
.SUFFIXES: .c .h .asm .obj
.c.obj:
$(CC) $<
.asm.obj:
$(ASM) $<
TARGET = dc.exp
OBJECTS = main.obj chain.obj list.obj c_printf.obj
HEADER = para.h list.h chain.h
CSRC = main.c chain.c list.c
LIBDIR = f:\hc386\small
LIB = $(LIBDIR)\hce.lib $(LIBDIR)\fmcfrb.lib $(LIBDIR)\tbios.lib
LINKOPT = -lib $(LIB) \
-callbufs 4 \
-stack 160000 \
-minreal 4000 \
-maxreal 5000 \
-twocase
#main
$(TARGET) : $(OBJECTS)
$(LINK) @${$# $(LINKOPT) -exe $@}
main.obj : main.c list.h para.h chain.h
list.obj : list.c list.h para.h
chain.obj : chain.c chain.h list.h para.h
#tag
tag : $(CSRC) $(ASMSRC) table.tag
table.tag : $(CSRC) $(ASMSRC)
+f:\tool\mifes\mitags -p *.c *.asm >table.tag